package com.bluse.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//@Component
public class MyTask {

    @Scheduled(fixedRate = 1000)
    public void work() {
        System.out.println("+++++++++++ this is time to do my task++++++++++++");
    }


}
